package com.tiny.work.test.collections.test;

public class Dancer extends Person implements IDancer{

    @Override
    public void dance(){
        System.out.println("I am dancer, I dance");
    }

    public static void main(String []args) throws exception1 {
        Person person = new Person();
        person.dance();
    }

}

class exception1 extends Exception{}
class exception2 extends Exception{}
